package com.videoweb.service;

import com.videoweb.entity.VideoLike;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lmr
 * @since 2025-05-17
 */
public interface IVideoLikeService extends IService<VideoLike> {

    /**
     * 检查   点赞和取消
     * @param videoId
     * @param userId
     * @return
     */
    public boolean checkLike(Long videoId);

    public boolean likeIt(Long videoId);

    public boolean cancelLike(Long videoId);

}
